﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace WebNet.Configuration
{
    public class WebNetConfigurationSection : ConfigurationSection
    {
        public static readonly string ConfigurationSectionName = "webNet";

        [ConfigurationProperty("countries", IsRequired = true, IsDefaultCollection = true)]
        public WebNetCountryConfigurationCollection Countries
        {
            get { return (WebNetCountryConfigurationCollection)this["countries"]; }
            set { this["countries"] = value; }
        }
    }
}
